

class Device:
    def __init__(self,name) -> None:
        self._name = name
        self._me = "yes"
        self._infomation = {}
        self._mqtt = None
    
    def set_name(self,name):
        self._name = name
    
    def update_infomation(self,infomation:dict):
        self._infomation = infomation

    def send_msg(self):
        if len(self._infomation) == 0:
            self._mqtt.send_msg(self,  msg: dict, qos:int = 0,topic: str = ATTRIBUTES_TOPIC):



